From 3783a0a54fce6faa47d89939bef8f4f83f1aeac2 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 19 Apr 2010 14:46:28 -0400 Subject: [PATCH] Fixed computation of sizegroups when no explicit request is set. My previous commit to GtkSizeGroup made sure that when gtk_widget_set_size_request() is set on a widget, it will be taken into account when computing the widget's own request, this commit fixes the case where there is no explicit size request. --- gtk/gtksizegroup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c index 56965aa9bb..aaf826db41 100644 --- a/gtk/gtksizegroup.c +++ b/gtk/gtksizegroup.c @@ -767,6 +767,8 @@ _gtk_size_group_bump_requisition (GtkWidget *widget, else result = compute_dimension (widget, mode, MAX (aux_info->height, widget_requisition)); } + else + result = compute_dimension (widget, mode, widget_requisition); } else if (aux_info) { -- 2.30.2